﻿const {Tabs} = antd;
const TabPane = Tabs.TabPane;

class Page extends React.Component {
    state = Object.assign(mountData, {
    
    });
    callback = (key) => {
	  console.log(key);
	}
    render() {
    	const _this = this;
        return (
        	<div style={{margin: '50px auto', width: '80%'}}>
                <Tabs onChange={this.callback} type="card">
				    <TabPane tab="Tab 1" key="1">tab1内容</TabPane>
				    <TabPane tab="Tab 2" key="2">tab2内容</TabPane>
				    <TabPane tab="Tab 3" key="3">tab3内容</TabPane>
				</Tabs>
            </div>
        );
    }
}

